package com.ruoyi.system.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author liuyj
 * @since 2021/5/17 13:51
 */
@RestController
public class HealthController {
    private final static Logger logger = LoggerFactory.getLogger(HealthController.class);

    @GetMapping("/ping")
    public String getPing(){
        logger.info("system ping");
        return "system pong";
    }
}